/**
 * 
 */
package kr.co.insoft.driver.amazon.model;

import kr.co.insoft.driver.model.VolumeAttachmentModel;

import com.amazonaws.services.ec2.model.VolumeAttachment;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 *
 */
public class AmazonVolumeAttachmentModel extends VolumeAttachmentModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1897804040946126218L;

	/**
	 * @param attachment
	 */
	public AmazonVolumeAttachmentModel(VolumeAttachment attachment) {
		setVolumeId(attachment.getVolumeId());
		setInstanceId(attachment.getInstanceId());
		setDeleteOnTermination(attachment.getDeleteOnTermination());
		setDevice(attachment.getDevice());
		setAttachTime(attachment.getAttachTime());
		setState(attachment.getState());
	}
}
